<link href="__PUBLIC__/css/page.css" rel="stylesheet"  type="text/css" />
<div class="pd-20">
    <if condition="$cur_group eq null ">
        <div class="row"></div>
        <else />
        <div class="mt-20">
        	<form action="" method="POST">
                <button class="btn btn-success" style="margin-bottom: 5px;" onclick="showOpenMsg(this)" periodid="{$periodid.periodid}">确认开启</button>
                <p>当前期数：{$periodid.ppname}</p>
                <input type="hidden" name="periodid" value="{$periodid.periodid}">
                <table class="table table-border table-bordered table-bg table-sort table-striped">
                    <thead>
                        <tr class="text-c">
                            <th width="30">用户组</th>
                            <th width="30">套餐菜品</th>
                            <th width="80">备选菜品</th>
                        </tr>
                    </thead>
                    <!--{$vo.postcode}-->
                    <tbody>
                        <tr class="text-c">
                            <td>
                                <volist name="cur_group" id="g">
                                    <span>{$g.grpname}&nbsp;</span>
                                </volist>
                            </td>
                            <td>
                                <volist name="cbpfoods" id="food">
                                    <p><input type="checkbox" checked name="pcolid[]" value="{$food.pcolid}">套餐：{$food.colname}</p>
                                </volist>
                            </td>
                            <td>
                                <volist name="opFoodsList" id="op">
                                    <span>{$op.foodname}&nbsp;</span>
                                </volist>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </if>
    <div class="row cl dataTables_wrapper" id="upage">
        {$page}
    </div>
</div>
<script type="text/javascript" src="__PUBLIC__/lib/layer/layer.js"></script>
<script>
//用户-编辑
function showFood(title, url, id, w, h) {
    layer_show(title, url, w, h);
}

function change(obj) {
	window.location.href="/index.php?g=Admin&m=Order&a=showAll&state="+$(obj).val();
}
</script>
